<?php

class Create_Jadual_Kumpulan_Pekerja {

	/**
	 * Make changes to the database.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('sys_user_kumpulan_pekerja', function($table)
	    {
		    $table->increments('sukp_no_auto');
		    $table->integer('sukp_no_kumpulan');	
		    $table->string('sukp_penerangan', 150);
			$table->date('sukp_tarikh_cipta');
			$table->integer('sukp_cipta_oleh');	
			$table->timestamp('sukp_tarikh_kemaskini');	
			$table->integer('sukp_kemaskini_oleh');
	    });
	}

	/**
	 * Revert the changes to the database.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('sys_user_kumpulan_pekerja');
	}

}